package com.security.door.dao.mapper;

import com.security.door.core.tk.mapper.MyBaseMapper;
import com.security.door.model.domain.baseRole;
import com.security.door.model.dto.baseRoleDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface baseRoleMapper extends MyBaseMapper<baseRole> {

    List<baseRole> queryListWithPage(baseRoleDto entity);

    int deleteByRoleCode(Integer roleCode);

    int getCount();

    int checkCode(Integer RoleCode);

    int getMaxID();
}
